<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

  <form action="https://www.baidu.com">
    <!-- 表单项，表单域 -->
    <input type="text" value="123"><br />
    <input type="password"><br />
    <input type="hidden"><br />
    <input type="radio" name="sex" value="nan">
    <input type="radio" name="sex" value="nv"><br />
    <input type="checkbox" name="hobby" value="吃饭">
    <input type="checkbox" name="hobby" value="睡觉">
    <input type="checkbox" name="hobby" value="打豆豆"><br />
    <select name="" id="">
      <option value="bj">北京</option>
      <option value="sh">上海</option>
    </select><br />
    <input type="file"><br />
    <textarea name="" id="" cols="30" rows="10"></textarea>

    <hr>
    <!-- 普通按钮，类型button，点击之后不会有任何反应 -->
    <button type="button">普通按钮1</button>
    <input type="button" value="普通按钮2">

    <hr>
    <!-- 提交按钮，类型submit，点击之后会造成表单提交，才会触发 submit 事件 -->
    <button>提交按钮1</button>
    <button type="submit">提交按钮2</button>
    <input type="submit" value="提交按钮3">

    <hr>
    <!-- 重置按钮，点击之后，重置表单,即恢复成原样，并不是清空的意思 -->
    <button type="reset">重置1</button>
    <input type="reset" value="重置2">
  </form>

</body>

</html>